tx "This program will scan two files, and display the line # and left 33 characters of any lines that are different between the two files. Main use is to ease updating BBSTEXT files..."
LOOP:
tx "n1cbPlease enter the names of the two files you wish to comparec1 (with paths, seperated by a comma: ex. c9cnet:bbstext,cnet:bbstext3.02c1),cb or [return] to exit:n1c3"
prompt 70 NORMAL '"-> "'
name=result
if name=oops | name="" then exit
c=index(name,",")
if length(name)<3 | c=0 then signal LOOP
ltname=left(name,c-1)
rtname=substr(name,c+1)
if ~exists(ltname) | ~exists(rtname) then do
tx "n2c9One or both of those files do not exist! Please try again..."
signal LOOP
end
sx "n1cbPause after every line? c1 (Default: every 20 lines) c9 [No] "
getchar
z=result
if z=oops then exit
if z~="Y" then z="N"
tx z"n2"
call open(lt,ltname,'R')
call open(rt,rtname,'R')
tx "n2c9Press Q to Quit scanning, or any other key to advance to next line..."